import request from '@/utils/request'

export function getInfo(params) {
  return request({
    url: '/emp/getInfo',
    method: 'get',
    params
  })
}

export function addInfo(data) {
  return request({
    url: '/emp/addInfo',
    method: 'post',
    data
  })
}

export function delInfo(params) {
  return request({
    url: '/emp/delInfo',
    method: 'get',
    params
  })
}

export function updateInfo(data) {
  return request({
    url: '/emp/updateInfo',
    method: 'post',
    data
  })
}


